<template>
	<view class="fullPage p30">
		<view class="container p30 border-r1 bf">
			<u-parse :html="content"></u-parse>
		</view>
	</view>
</template>

<script>
	import {getRentCarContract} from '@/api/user.js'
	export default {
		data() {
			return {
				deviceNo: '',
				content: ''
			}
		},
		onLoad(e) {
			this.deviceNo = e.deviceNo
			this.getRentCarContract()
		},
		methods: {
			async getRentCarContract() {
				const res = await getRentCarContract({deviceNo: this.deviceNo})
				this.content = res.data.protocols
			}
		}
	}
</script>

<style lang="scss">

</style>
